
	var preFrameW = '206,*';
	var FrameHide = 0;
	var curStyle = 1;
	var totalItem = 9;
	function ChangeMenu(way){
		var addwidth = 10;
		var fcol = top.document.all.btFrame.cols;
		if(way==1) addwidth = 10;
		else if(way==-1) addwidth = -10;
		else if(way==0){
		if(FrameHide == 0){
			preFrameW = top.document.all.btFrame.cols;
			top.document.all.btFrame.cols = '0,*';
			FrameHide = 1;
			return;
		}else{
			top.document.all.btFrame.cols = preFrameW;
			FrameHide = 0;
			return;
		}
	}
	fcols = fcol.split(',');
	fcols[0] = parseInt(fcols[0]) + addwidth;
	top.document.all.btFrame.cols = fcols[0]+',*';
}


function mv(selobj,moveout,itemnum)
{
   if(itemnum==curStyle) return false;
   if(moveout=='m') selobj.className = 'itemsel';
   if(moveout=='o') selobj.className = 'item';
   return true;
}

function changeSel(itemnum)
{
  curStyle = itemnum;
  for(i=1;i<=totalItem;i++)
  {
     if(document.getElementById('item'+i)) document.getElementById('item'+i).className='item';
  }
  document.getElementById('item'+itemnum).className='itemsel';
}
function show_setting(x){
	var p = document.getElementsByName("setting");
	for(var i=0;i<p.length;i++){
		p[i].style.display="none";
	}
	document.getElementById('x').style.display="block";
}

